#include "lcd.h"

int main()
{
    lcd_init();
    
    //4、进行画图操作
    enum Color colors[] = {BLACK,RED,YELLOW};
    int i=0;
    while(1)
    {
        lcd_draw_block(colors[i%3],colors[(i+1)%3],colors[(i+2)%3]);
        i++;
    }
    // while (1)
    // {
    //     lcd_draw_block(BLACK,RED,YELLOW);
    //     sleep(1);
    //     lcd_draw_block(YELLOW,BLACK,RED);
    //     sleep(1);
    //     lcd_draw_block(RED,YELLOW,BLACK);
    //     sleep(1);
    // }
    
   
    lcd_destory();

}